PulseTrain2 component never stops pulsing

Tech Note: TN0059
Product: RPvdsEx
Version: All
Date Added: 2002-12-05

Issue

When the nPulse parameter of a PulseTrain2 component is set to a lower value than it previously had, the component will pulse forever, because its internal counter keeps counting from the original value.

Workaround

Set the Enable line of the PulseTrain2 component to 0 before changing nPulse, so that pulsing will be disabled. Trigger the Reset line of the component to reset the internal counter to zero before re-enabling pulsing.

Solution

Upgrade to the latest version of TDT drivers to use the PulseTrain3 component, which does not have this issue.